﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yichat.MicroService.Service
{
    public static class ConfigurationBuilderExtensions
    {
        public static IConfigurationBuilder AddConfigOptionConfiguration(this IConfigurationBuilder builder, IConfiguration configuration)
        {
            return builder.Add(new ConfigOptionConfigurationSource(configuration));
        }
    }
}
